﻿//******************************************************************************
//    Copyright (c) 2013 INFOGRAM Inc. All Right Reserved.
//
//    SystemName   : Training Support System
//    CategoryName : 
//    FileName     : Entity.cs
//    Description  : エンティティのBaseクラス
//
//    Created By   : 2012.12.20  Vo Viet Khanh
//    Updated By   :
//
//******************************************************************************

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace TanWeb.Models.Entities.Infrastructure
{
    /// <summary>
    /// エンティティのBaseクラス
    /// </summary>
    public class Entity
    {
        //===============================================================
        //  プロパティ宣言
        //===============================================================
        #region /***    Propertie Declared    ***/
        [Key, Required, DatabaseGenerated(DatabaseGeneratedOption.None)]
        [MaxLength(8)]
        [Column("id", Order = 0)]
        public int id { set; get; }

        [Column("UpdateDate", Order = 41)]
        public DateTime UpdateDate { get; set; }
        #endregion
    }
}